#ifndef FRMSELECTPIECE_H
#define FRMSELECTPIECE_H

#include <QDialog>
#include <QButtonGroup>

namespace Ui {
class FrmSelectPiece;
}

class FrmSelectPiece : public QDialog
{
    Q_OBJECT

public:
    explicit FrmSelectPiece(QWidget *parent = 0);
    ~FrmSelectPiece();
    bool getWhoFirst();
    bool getPlayer1Use();

private:
    Ui::FrmSelectPiece *ui;

private slots:
    void on_buttonBox_accepted();

signals:
    void restart_emit();

private:
    QButtonGroup *groupButtonWhoFirst;
    QButtonGroup *groupButtonPlayer1Piece;
    bool whoFirst=false;
    bool player1Use=false;
};

#endif // FRMSELECTPIECE_H
